package com.zhzy.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by zj on 2017/7/12.
 */
@RestController
public class MemberController {
    @Value("${server.port}")
    String port;
    @RequestMapping(value = "/findMember")
    public String findMember(@RequestParam String name){
        return "this is memberService feign findMember "+name+",i am from port:" +port;
    }
}

